﻿<%@ Page Language="C#" MasterPageFile="MyStudy.master" AutoEventWireup="true" CodeFile="UserClassTasksDealByTeacher.aspx.cs"
    Inherits="Theme_Index_UserClassTasksDealByTeacher" %>

<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.Net2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" language="javascript">
        function ShowNo()                        //隐藏两个层
        {
            document.getElementById("doing").style.display="none";
            document.getElementById("divLogin").style.display="none";
        }
        function $(id)         
        {
            return (document.getElementById) ? document.getElementById(id) : document.all[id] ;
        }
        function showFloat()                    //根据屏幕的大小显示两个层
        {
            var range = getRange();
            $('doing').style.width = range.width + "px";
            $('doing').style.height = range.height + "px";
            $('doing').style.display = "block";
            document.getElementById("divLogin").style.display="";
        }
        function getRange()                      //得到屏幕的大小
        {
              var top     = document.body.scrollTop;
              var left    = document.body.scrollLeft;
              var height  = document.body.clientHeight;
              var width   = document.body.clientWidth;

              if (top==0 && left==0 && height==0 && width==0) 
              {
                top     = document.documentElement.scrollTop;
                left    = document.documentElement.scrollLeft;
                height  = document.documentElement.clientHeight;
                width   = document.documentElement.clientWidth;
              }
              return  {top:top  ,left:left ,height:height ,width:width } ;
        }
        
        function AutoColseAler()
        {
            showFloat();
            setTimeout("ShowNo()",3000);
        }
    </script>

    <div class="new_01">
            <div class="position">
                首页 &gt;&gt; 我的课堂 &gt;&gt;<asp:Label ID="lbl_ClassName" runat="server"></asp:Label>&gt;&gt;
                我的班级作业&gt;&gt;<asp:Label ID="lbl_TaskTitleInfo" runat="server"></asp:Label></div>
            <div class="my_calss">
                <div class="list">
                    <ul>
                        <li><a href="StudyProject.aspx?ClassID=<%=classID %>&CourselistID=<%=courseListID %>">
                            班级学习</a></li>
                        <li><a href="MyClassTasks.aspx?ClassID=<%=classID %>&CourselistID=<%=courseListID %>">
                            我的班级作业</a></li>
                        <li><a href="DealClassTask.aspx?UserTask_ID=<%=UserTask_ID %>&CourseID=<%=courseid %>&TaskID=<%=taskid %>&ClassID=<%=classID %>&CourselistID=<%=courseListID %>">
                            完成作业</a></li>
                        <li><a href="UserClassTasks.aspx?UserTask_ID=<%=UserTask_ID %>&CourseID=<%=courseid %>&TaskID=<%=taskid %>&ClassID=<%=classID %>&CourselistID=<%=courseListID %>">
                            作业回复</a></li>
                        <li><a href="UserClassTasksDealByTeacher.aspx?UserTask_ID=<%=UserTask_ID %>&CourseID=<%=courseid %>&TaskID=<%=taskid %>&type=1&CourselistID=<%=courseListID %>&ClassID=<%=classID %>">
                            教师评价</a> </li>
                    </ul>
                </div>
                <div class="jyzx5_01">
                    <div class="jyzx6_01">
                        <ul>
                            <li class="jyzx_601">作业要求</li>
                            <li>
                                <asp:Label runat="server" ID="lbl_TaskTitle"></asp:Label>
                            </li>
                            <li>
                                <asp:Label runat="server" ID="lbl_TaskContent"></asp:Label>
                            </li>
                            <li>附件：<asp:Label runat="server" ID="lbl_TaskAccessory"></asp:Label></li>
                            <li>结束时间：<asp:Label runat="server" ID="lbl_endtime"></asp:Label>
                            </li>
                            <li>&nbsp;</li>
                            <li class="jyzx_601">
                                <asp:Label ID="lbl_UserName" runat="server" ForeColor="Red"></asp:Label>的作业
                            </li>
                            <li>
                                <asp:Label ID="lbl_MyTaskTitle" runat="server"></asp:Label></li>
                            <li>
                                <asp:Label runat="server" ID="lbl_MyTaskContent"></asp:Label></li>
                            <li>附件：<asp:Label runat="server" ID="lbl_MyTaskAccessory"></asp:Label></li>
                            <li>完成时间：<asp:Label runat="server" ID="lbl_Finishtime"></asp:Label></li>
                            <li>&nbsp;</li>
                            <li class="jyzx_601">教师评价</li>
                            <li>&nbsp;</li>
                            <asp:GridView ID="gv_TeacherReply" runat="server" AutoGenerateColumns="False">
                                <Columns>
                                    <asp:TemplateField ShowHeader="False">
                                        <ItemTemplate>
                                            <li>教师：<%#Eval("Name")%></li>
                                            <li>附件：
                                                <%#Eval("AccessoryName")%></li>
                                            <li>完成时间：<%#Eval("CreateDate")%></li>
                                            <li>得分：<%#Eval("Point")%></li>
                                            <li>
                                                <%#Eval("Content") %></li>
                                            <li>&nbsp;</li>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <EmptyDataTemplate>
                                    <li>No Data! </li>
                                </EmptyDataTemplate>
                            </asp:GridView>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

</asp:Content>
